﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    x:Class="TeamCreation.Member"
    >

    <Grid x:Name="LayoutRoot">
        <Border x:Name="border"  Height="25" BorderBrush="Black" BorderThickness="1"  VerticalAlignment="Top">
            <Border.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="{Binding TopColor}" Offset="0"/>
                    <GradientStop Color="{Binding BottemColor}" Offset="1"/>
                </LinearGradientBrush>
            </Border.Background>
            <TextBlock TextWrapping="Wrap" Text="{Binding Path=MembersName, Mode=OneWay}" VerticalAlignment="Top" Margin="8,3,8,0" HorizontalAlignment="Left"  Width="160"/>
        </Border>
    </Grid>
</UserControl>